package com.zhang.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import com.zhang.common.oss.minio.FileInfoVo;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * sku信息表
 * </p>
 *
 * @author 创世神
 * @since 2023-10-04
 */
@Data
@TableName("my_sku_info")
public class SkuInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("spu_id")
    private Long spuId;

    @TableField("sku_name")
    private String skuName;

    /**
     * 描述
     */
    @TableField("sku_desc")
    private String skuDesc;

    @TableField("category_id")
    private Long categoryId;

    @TableField("brand_id")
    private Long brandId;

    /**
     *默认图片
     */
    @TableField("sku_default_img")
    private Long skuDefaultImg;

    /**
     * 标题
     */
    @TableField("sku_title")
    private String skuTitle;

    @TableField("price")
    private BigDecimal price;

    /**
     * 副标题
     */
    @TableField("sku_subtitle")
    private String skuSubtitle;

    /**
     *售卖量
     */
    @TableField("sale_count")
    private String saleCount;

}
